<!DOCTYPE html>
<!-- saved from url=(0141)file:///C:/Users/%E9%98%AE%E5%86%9B/Desktop/%E8%8D%A3%E8%80%80_%E5%95%86%E5%93%81%E6%90%9C%E7%B4%A2_%E5%8D%8E%E4%B8%BA%E5%95%86%E5%9F%8E.html -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">

<meta http-equiv="Content-Language" content="zh-cn">

<title>荣耀_商品搜索_华为商城</title>
<meta name="keywords" content="">
<link rel="stylesheet" href="Public/Home/css/ec.css">
<link rel="shortcut icon" href="http://www.vmall.com/favicon.ico">
<!-- <link href="Public/Home/css/ec.core.min.css" rel="stylesheet" type="text/css"> -->

<link href="Public/Home/css/main.min.css" rel="stylesheet" type="text/css">
</head>
<body  class="wide detail">


<!-- 引入公共头部 -->
		{{include file="../Common/header"}}

 <!-- 之所以在这里的a连接中添加target，是因为这样不让用户点击退回上一步，不然会报错，因为form表单的原因 -->

<div class="g search">
        
        <div id="ct-list" class="g-l-none search-area"  style="border:0">
            
            <div class="b" > 
                <!--商品列表  -->
                <div class="pro-list"   >
                <?php if(!empty($goodsData)){?>
                    <ul id="pro-list">

                    {{foreach from="$goodsData" value="$v"}}
						<li>
						    <div>
								<p class="p-img"><a href="{{U('Detail/index',['gid'=>$v['gid']])}}" title=""  target="_blank" ><img src="{{$v['pic']}}" alt=""></a></p>
								<p class="p-price"><b>¥{{$v['shopprice']}}</b></p>
								<p class="p-name"><a href="{{U('Detail/index',['gid'=>$v['gid']])}}" title="" target="_blank" ><span class="red">{{$v['gname']}}</span></a></p>
						    </div>
						</li>
					{{endforeach}}	
                    </ul>
                <?php }else{?>
                	<center  style="margin-top:30px"> 
                	<img src="Public/Home/images/cl.gif"> </img>
                	<h3  style="font-size:30px;margin-top:20px">您搜索的商品还没有上架</h3></center>
                	<?php }?>
                </div>
                <!--分页 -->  
            </div>
        </div>
    <!--</div>-->
	</div>
	<div style="width:100%;height:100px;margin-bottom:100px"></div>
    <script>
        if(save()){
            Response.Redirect("{{U('Search/index')}}");
         }

    </script>
</body>
</html>